<!DOCTYPE html>
<html>
<head>
    <title> Index</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
</head>
<body>
<div class="container-fluid">
    <div class="row" id="content">
        <div class="col-md-10 col-md-offset-1 col-sm-10 col-sm-offset-1">
            <div class="card">
          
              <col width="10%"><col width="70%"><col width="20%">

              <label class="welcome">单词列表</label>
              <table class="table table-striped">
                <thead>
                  <tr>
                    <th>word</th>
                    <th>内容</th>
                  </tr>
                </thead>
                <tbody>
                  <% for(var i=0; i<all_word_infos.length; i++) { var aWord = all_word_infos[i]; var word = aWord.word; var info = aWord.info; %>
                   
                    <tr>
                      <td><%= word %></td>
                      <td><%= JSON.stringify(info) %></td>
                      <td>
                          <a target="_blank" href="./word?word=<%=word%>">查看</a>
                      </td>

                    </tr>
                  <% } %>
                </tbody>
              </table>
            </div>
        </div>
    </div>
</div>
</body>


</html>